package com.baiyang.server.model.base;

import com.baiyang.server.annotation.NotNull;

/**
 * @author XVX - generator
 * @version 1
 */
@NotNull
public class Notice {
	//唯一ID
	@NotNull
	private String id;	
	//1-作者，0-读者
	@NotNull
	private String type;	
	//公告标题
	@NotNull
	private String noticeTitle;	
	//公告简介
	@NotNull
	private String introduction;	
	//阅读数量
	private Integer readNum;
	//创建时间
	private String createTime;	
	//创建人
	@NotNull
	private String createBy;	
	//是否有效：1-有效，0-无效
	private String available = "1";
	//是否删除：1-删除，0-不删除
	private String del = "0";
	// 实际内容
	private String content;
	// 标题图片
	private String titlePic;
	// 创建人
	private String createName;
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getType(){
		return type;
	}
	public void setType(String type){
		this.type = type;
	}
	public String getNoticeTitle(){
		return noticeTitle;
	}
	public void setNoticeTitle(String noticeTitle){
		this.noticeTitle = noticeTitle;
	}
	public String getIntroduction(){
		return introduction;
	}
	public void setIntroduction(String introduction){
		this.introduction = introduction;
	}
	public Integer getReadNum(){
		return readNum;
	}
	public void setReadNum(Integer readNum){
		this.readNum = readNum;
	}
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	public String getCreateBy(){
		return createBy;
	}
	public void setCreateBy(String createBy){
		this.createBy = createBy;
	}
	public String getAvailable(){
		return available;
	}
	public void setAvailable(String available){
		this.available = available;
	}
	public String getDel(){
		return del;
	}
	public void setDel(String del){
		this.del = del;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTitlePic() {
		return titlePic;
	}

	public void setTitlePic(String titlePic) {
		this.titlePic = titlePic;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}
}
